package com.zhoug.player3demo;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: zhoug
 * @Date: 2024-12-06
 * @Description:
 */
public class PlayData {
    private String name;
    private String playUrl;

    public static  List<PlayData> getPlayDataList(){
        List<PlayData> playDataList=new ArrayList<>();
        playDataList.add(new PlayData("浙江视频(mp4)","https://v-cdn.zjol.com.cn/276982.mp4"));
        playDataList.add(new PlayData("浙江在线(mp4)","https://v-cdn.zjol.com.cn/276984.mp4"));
        playDataList.add(new PlayData("漳浦电视实时节目(m3u8)","http://220.161.87.62:8800/hls/0/index.m3u8"));
        playDataList.add(new PlayData("大灰熊(mp4)","https://www.w3schools.com/html/movie.mp4"));
        playDataList.add(new PlayData("海洋(mp4)","http://vjs.zencdn.net/v/oceans.mp4"));
        playDataList.add(new PlayData("冰川(mp4)","https://media.w3.org/2010/05/sintel/trailer.mp4"));
        playDataList.add(new PlayData("大灰兔(flv)","https://sample-videos.com/video321/flv/720/big_buck_bunny_720p_1mb.flv"));
        playDataList.add(new PlayData("钢铁之泪(m3u8)","https://demo.unified-streaming.com/k8s/features/stable/video/tears-of-steel/tears-of-steel.ism/.m3u8"));
        playDataList.add(new PlayData("雪景(rtsp)","rtsp://stream.strba.sk:1935/strba/VYHLAD_JAZERO.stream"));
        playDataList.add(new PlayData("房子(rtsp)","rtsp://196.21.92.82/axis-media/media.amp"));
        playDataList.add(new PlayData("吃鸡(rtmp)","rtmp://liteavapp.qcloud.com/live/liteavdemoplayerstreamid"));
        playDataList.add(new PlayData("海康视频(hls)","http://hls01open.ys7.com/openlive/dd5be5f4e436469ea3dd225c4627597a.m3u8"));
        playDataList.add(new PlayData("海康视频(hls)","http://hls01open.ys7.com/openlive/9c74a30967ab41a983b2a65d76e0fcc4.m3u8"));
        playDataList.add(new PlayData("海康视频(hls)","http://hls01open.ys7.com/openlive/692a210e54a1409998e1c036b8a210bd.m3u8"));
        playDataList.add(new PlayData("海康视频(hls)","http://hls01open.ys7.com/openlive/b180c600a9544504824fc9ea33f1c849.m3u8"));
        playDataList.add(new PlayData("海康视频(hls)","http://hls01open.ys7.com/openlive/336d56b284664078a1c02fad1a2af937.m3u8"));
//        playDataList.add(new PlayData("海康视频(hls)","xxx"));
        playDataList.add(new PlayData("千里眼视频","xxxxS_d4430e203f3e"));
        playDataList.add(new PlayData("千里眼视频","xxxxS_d4430e203f50"));
//        playDataList.add(new PlayData("xx","xxx"));
        return playDataList;
    }

    public PlayData() {
    }

    public PlayData(String name, String playUrl) {
        this.name = name;
        this.playUrl = playUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPlayUrl() {
        return playUrl;
    }

    public void setPlayUrl(String playUrl) {
        this.playUrl = playUrl;
    }
}
